#include "QApplication"
#include "src/model/GameConfigModel.h"
#include "src/viewmodel/GameConfigWindowModel.h"

int wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, wchar_t* lpCmdLine, int nShowCmd)
{
	int argc = 0;
	QString cmdline = QString::fromUtf16((char16_t*)lpCmdLine);
	QByteArray bytes = cmdline.toUtf8();
	char* str = bytes.data();
	QApplication app(argc, &str);
	app.setAttribute(Qt::AA_EnableHighDpiScaling);
	GameConfigModel configModel;
	GameConfigWindowModel wndModel;
	wndModel.createWindow();
	return app.exec();
}